package com.hns.can.base.entity;
import com.hns.can.common.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

/**
 * @版权：HNS 版权所有 (c) 2013
 * @author:lan
 * @version Revision 1.0.0 763836737@QQ.cn
 * @see:
 * @创建日期：2014-9-2
 * @功能说明：加油信息实体
 * @begin
 * @修改记录:
 * @修改后版本 修改人 修改内容
 * @2014-9-2 lan 创建
 * @end
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_APP_OIL_PRICE")
public class AppOilPriceEntity extends BaseEntity implements java.io.Serializable {
	// Fields
	@Id
	@Column(name = "ID")
	private String id;

	@Column(name = "PROVINCE_ID")
	private String provinceId;

	@Column(name = "CITY_ID")
	private String cityId;

	@Column(name = "ADJUST_DATE")
	private String adjustDate;

	@Column(name = "OIL_TYPE")
	private String oilType;

	@Column(name = "PRICE")
	private BigDecimal price;

	@Column(name = "CRT_TIME")
	private Date crtTime;

	@Column(name = "CRT_USER")
	private String crtUser;

	@Column(name = "UPDATE_TIME")
	private Date updateTime;

	@Column(name = "UPDATE_USER")
	private String updateUser;
	
	@Transient
    private String provinceName;
	
	@Transient
    private String cityName;
	
	@Transient
    private String oilTypeName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getAdjustDate() {
		return adjustDate;
	}

	public void setAdjustDate(String adjustDate) {
		this.adjustDate = adjustDate;
	}

	public String getOilType() {
		return oilType;
	}

	public void setOilType(String oilType) {
		this.oilType = oilType;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getCrtUser() {
		return crtUser;
	}

	public void setCrtUser(String crtUser) {
		this.crtUser = crtUser;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Date getCrtTime() {
		return crtTime;
	}

	public void setCrtTime(Date crtTime) {
		this.crtTime = crtTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getOilTypeName() {
		return oilTypeName;
	}

	public void setOilTypeName(String oilTypeName) {
		this.oilTypeName = oilTypeName;
	}
	
}
